<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>信息管理页面</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="/static/assets/layui-v2.5.6/css/layui.css" media="all">
</head>
<body>
<div class="container">
    <div class="msg-title">
        <label class="layui-form-label" v=<#if message??>${message.id}</#if> id="msgId">消息标题:</label>
        <div class="layui-input-inline" style="width: 50%">
            <input class="layui-input layui-title" placeholder="请输入标题" value=<#if message??>${message.msgTitle}</#if>>
        </div>
        <div class="layui-form layui-input-inline">
            <select class="msg-type">
                <option value="">请选择消息类型</option>
                <option value="1">资讯</option>
                <option value="2">公告</option>
                <option value="3">通知</option>
            </select>
        </div>
    </div>
    <div class="msg-content">
        <fieldset class="layui-elem-field layui-field-title">
            <legend>消息内容</legend>
        </fieldset>
        <textarea class="layui-textarea" id="LAY_demo1" style="display: none"
                  placeholder="请输入内容"><#if message??>${message.msgContent}</#if></textarea>
    </div>
    <div class="msg-opt" style="margin-top:10px;">
        <button type="button" onclick="history.back(-1)" class="layui-btn layui-icon layui-icon-return">返回</button>
        <button class="layui-btn preview" type="button">预览</button>
        <button class="layui-btn layui-icon layui-icon-ok submit" type="button">提交</button>
    </div>
</div>
<#--编辑表单-->
<div id="dataModel" class="data-model">

</div>
<script type="text/javascript" src="/static/assets/jquery/jquery-3.5.1.js"></script>
<script src="/static/assets/layui-v2.5.6/layui.js"></script>
<script src="/static/js/base_system/message_edit.js"></script>
</body>
</html>